package com.meal.test.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @Title: CommRunner
 * @Description: 启动执行
 * @Author yangzhanghui
 * @Date 2020/5/720:56
 * @Version v1.0
 */
@Slf4j
@Component
@Order(200)
public class CommRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        System.out.println("启动执行");
        log.info("打印信息==={}", "启动执行");
    }
}
